EditLicenseRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > EditLicenseRecord

## EditLicenseRecord

The EditLicenseRecord function will edit and update a license record.

###### Syntax

TRecordResponse * EditLicenseRecord( TCheckPointLicenseRecord * ALicenseRecord, BSTR ASessionID ) ;

###### Parameters

ALicenseRecord

[IN] This is a TCheckPointLicenseRecord class which is used to find and edit a license entry. The fields of interest are:

- LicenseID- this field determines which License to update

- LicenseProjectFileNamePath- this field is used to change the license project file path

- Deleted- this field used to change if the license is deleted

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

LicenseID is used only to determine which license are to be updated. The LicenseID will not be changed by this function.

Also note that no fields should be blank unless it is intentional. The associated database field will be overwritten and updated to blank.

Example: if you leave your LicenseProjectFileNamePath blank, then the new LicenseProjectFileNamePath may be blank.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned.

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"